function fixWidth(percent){
	return document.body.clientWidth * percent;
}

/**
 * 获取资源类别等级的名称
 * @param {Object} pSlevel
 * @return {TypeName} 
 */
function getSlevelName(pSlevel){
	if(pSlevel=="0"){
		return "无等级";
	}else if(pSlevel=="1"){
		return "应用级";
	}else if(pSlevel=="2"){
		return "模块级";
	}else if(pSlevel=="3"){
		return "操作级";
	}else {
		return "*未知*";
	}
}
